package com.sg.business.commons.ui.vault;

import java.util.List;

import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;

import com.sg.business.model.Folder;

public abstract class FolderExplorer extends Composite {

	public FolderExplorer(Composite parent, int style) {
		super(parent, style);
	}

	public abstract void setSelection(StructuredSelection empty);

	public abstract void setInput(List<Folder> root);

	public abstract void refresh();

	public abstract void remove(Folder folder);

	public abstract void update(Folder folder) ;

	public abstract void setPopupMenu(String menuId) ;

	public abstract Control getFolderControl() ;

	public abstract void createFolder(Folder parentFolder, Folder subFolder);
	
	public abstract Folder getCurrentFolder();
}
